package net.lab1024.sa.admin.module.business.yct.yctTeeth.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.yct.yctTeeth.domain.entity.YctTeethHospitalEntity;
import net.lab1024.sa.admin.module.business.yct.yctTeeth.domain.form.YctTeethHospitalQueryForm;
import net.lab1024.sa.admin.module.business.yct.yctTeeth.domain.vo.YctTeethHospitalVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.yct.yctproductinstructions.domain.form.YctProductInstructionsQueryForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 易齿通口腔门诊 Dao
 *
 * @Author zhangben
 * @Date 2024-11-07 09:39:15
 * @Copyright 20241107
 */

@Mapper
@Component
public interface YctTeethHospitalDao extends BaseMapper<YctTeethHospitalEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<YctTeethHospitalVO> queryPage(Page page, @Param("queryForm") YctTeethHospitalQueryForm queryForm);

    /**
     * 更新删除状态
     */
    long updateDeleted(@Param("hospiatlId")Long hospiatlId,@Param("deletedFlag")boolean deletedFlag);

    List<YctTeethHospitalVO> queryPageList(Page<?> page, @Param("queryForm") YctProductInstructionsQueryForm queryForm);
}
